var express = require('express');
var router = express.Router();
// var dbcomm = require('./util/dbcomm');
var moment = require('moment');
var now = moment().format('YYYY年MM月DD日') ;//日期


/* 验证成功能以后的，显示页面 */
router.get('/', function(req, res) {
    res.render('./BackStage/login', { title: '管理系统' });
});

router.get("/index",function (req,res){
    res.render('./BackStage/index', { title: '管理系统主页' });
})

router.get("/charts",function (req,res){
    res.render('./BackStage/charts', { title: '管理系统统计图' });
})

router.get("/elements",function (req,res){
    
    res.render('./BackStage/elements', { title: '管理系统元素实例' });
})

router.get("/icons",function (req,res){
    
    res.render('./BackStage/icons', { title: '管理系统图标实例' });
})

router.get("/lockscreen",function (req,res){
    
    res.render('./BackStage/lockscreen', { title: '管理系统锁屏界面' });
})

router.get("/notifications",function (req,res){
    
    res.render('./BackStage/notifications', { title: '管理系统通知' });
})

router.get("/panels",function (req,res){
    res.render('./BackStage/panels', { title: '管理系统容器' });
})

router.get("/profile",function (req,res){
    
    res.render('./BackStage/profile', { title: '管理系统个人主页' });
})

router.get("/tables",function (req,res){
    
    res.render('./BackStage/tables', { title: '管理系统表格' });
})

router.get("/typography",function (req,res){
    
    res.render('./BackStage/typography', { title: '管理系统排版' });
})
router.get("/inbox",function (req,res){
    
    res.render('./BackStage/inbox', { title: '收信箱' });
})
router.get("/epistolize",function (req,res){
    
    res.render('./BackStage/epistolize', { title: '写信箱' });
})
router.get("/loginInfo",function (req,res){
    res.render('./BackStage/loginInfo', { title: '登陆信息管理' });
})
router.get("/roleInfo",function (req,res){
    res.render('./BackStage/roleInfo', { title: '角色信息管理' });
})
router.get("/functionInfo",function (req,res){
    res.render('./BackStage/functionInfo', { title: '功能管理' });
})
router.get("/jurisdiction",function (req,res){
    res.render('./BackStage/jurisdiction', { title: '权限管理' });
})




module.exports = router;